<?php
namespace Admin;
return array(
		'controllers' => array(
				'invokables' => array(
						'Admin\Controller\Index' => 'Admin\Controller\IndexController',
						'Admin\Controller\Song' => 'Admin\Controller\SongController',			
				),
		),
		'view_manager' => array(
				'template_path_stack' => array(
						__DIR__ . '/../view',
				),
				'template_map' => array(
						'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
				),
		),
		'router' => array(
				'routes' => array(
						'index' => array(
								'type' => 'Segment',
								'options' => array(
										'route' => '/admin[/index][/:action]',
										'defaults' => array(
												'controller' => 'Admin\Controller\Index',
												'action' => 'index',
										)
								),
						),
						'song' => array(
								'type' => 'Segment',
								'options' => array(
										'route' => '/admin/song/[:action]',
										'defaults' => array(
												'controller' => 'Admin\Controller\Song',
												'action' => 'index',
										)
								),
						),
						'user' => array(
								'type' => 'Segment',
								'options' => array(
										'route' => '/user/[:action]',
								),
						),
				),
		),
		'paginator' => array(
				'defaultItemCountPerPage' => '1',
		),
);